package rentel.logbook.common;

import com.google.common.hash.Hasher;
import com.google.common.hash.Hashing;

public class Md5Hasher {

	/**
	 * Returns string as md5 hash. 
	 * @param string
	 * @return md5 version of inputed string
	 */
	public static String md5AsString(String string) {
		
		Hasher hasher = Hashing.md5().newHasher();
        hasher.putString("heslo");

        return hasher.hash().toString();
	}
}
